@extends('base')
@section('content')
<!------banner 结束------------>
<div class="mainBox">
    <div class="menuBox menuBox_1">
        <div class="menuRight">
            <div class="subNav">
                <a href="index.html">首页</a> &gt;
                <a href="#">作品展示</a> &gt;
                <a href="#" class="current">新娘妆</a>
            </div>
            <div class="abuotBox">
                @foreach($data as $key=>$item)
                    <?php $model=json_decode($item->content)?>
                <div class="n-c-t">
                    <h1>{{$model->title}}</h1>
                    <p><span> {{ substr( $item->created_at, 0, 10) }}</span> <span>{{$model->writer}}</span> <span>阅读量：{{$item->clicks}}</span></p>
                </div>
                <div class="work_pic a-bouncein">
                    <p><img src="{{asset('/img/pro-'.$model->pic.'/550-450')}}" /></p>
                </div>
                    @endforeach
            </div>
        </div>
    </div>
</div>
@stop